<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>文件上传</title>
</head>

<body>
    <form action="" method="post" enctype="multipart/form-data">
        <p>姓名：<input type="text" name="name"></p>
        <p>年龄：<input type="text" name="age"></p>
        <p>邮箱：<input type="email" name="email"></p>
        <p>头像：<input type="file" name="avatar"></p>
        {{ csrf_field() }}
        <input type="submit" value="提交">
    </form>
</body>

</html>